package member.vo;

public class MemberVO {
	private String joinId;
	private String joinName;
	private String joinPassword;
	private String joinAddress1;
	private String joinAddress2;
	private String joinPhoneNo;
	private String joinEmail;
	private String joinNickName;
	private String joinZipCode;
	
	public MemberVO(){}

	public MemberVO(String joinId, String joinName, String joinPassword,
			String joinAddress1, String joinAddress2, String joinPhoneNo,
			String joinEmail, String joinNickName, String joinZipCode) {
		super();
		this.joinId = joinId;
		this.joinName = joinName;
		this.joinPassword = joinPassword;
		this.joinAddress1 = joinAddress1;
		this.joinAddress2 = joinAddress2;
		this.joinPhoneNo = joinPhoneNo;
		this.joinEmail = joinEmail;
		this.joinNickName = joinNickName;
		this.joinZipCode = joinZipCode;
	}

	public String getJoinId() {
		return joinId;
	}

	public void setJoinId(String joinId) {
		this.joinId = joinId;
	}

	public String getJoinName() {
		return joinName;
	}

	public void setJoinName(String joinName) {
		this.joinName = joinName;
	}

	public String getJoinPassword() {
		return joinPassword;
	}

	public void setJoinPassword(String joinPassword) {
		this.joinPassword = joinPassword;
	}

	public String getJoinAddress1() {
		return joinAddress1;
	}

	public void setJoinAddress1(String joinAddress1) {
		this.joinAddress1 = joinAddress1;
	}

	public String getJoinAddress2() {
		return joinAddress2;
	}

	public void setJoinAddress2(String joinAddress2) {
		this.joinAddress2 = joinAddress2;
	}

	public String getJoinPhoneNo() {
		return joinPhoneNo;
	}

	public void setJoinPhoneNo(String joinPhoneNo) {
		this.joinPhoneNo = joinPhoneNo;
	}

	public String getJoinEmail() {
		return joinEmail;
	}

	public void setJoinEmail(String joinEmail) {
		this.joinEmail = joinEmail;
	}

	public String getJoinNickName() {
		return joinNickName;
	}

	public void setJoinNickName(String joinNickName) {
		this.joinNickName = joinNickName;
	}

	public String getJoinZipCode() {
		return joinZipCode;
	}

	public void setJoinZipCode(String joinZipCode) {
		this.joinZipCode = joinZipCode;
	}

	@Override
	public String toString() {
		return "MemberVO [joinId=" + joinId + ", joinName=" + joinName
				+ ", joinPassword=" + joinPassword + ", joinZipCode="
				+ joinZipCode + ", joinNickName=" + joinNickName
				+ ", joinAddress1=" + joinAddress1 + ", joinAddress2="
				+ joinAddress2 + ", joinPhoneNo=" + joinPhoneNo
				+ ", joinEmail=" + joinEmail + "]";
	}

	public boolean checkPassword(String pwd) {
		boolean result = false;
		if(joinPassword.equals(pwd)){
			result = true;
		}
		return result;
	}

	

	
}
